package main

import "fmt"

func arr(){
	arr :=[...]int{3,4,5,6}
	s:=arr[2:3]
	fmt.Println(s)
}

func rangs(){
	arrs := [...]int{1,2,3,4,5,6}
	for i,v:=range arrs {
		fmt.Println(i,v)
	}
}

func main() {
	arr()
	rangs()
}
